Skip to main content

Retrieving key and end point

To successfully initialize the AI SDK in ABAP, and make a call against Azure OpenAI, you'll need an endpoint and a key.

  1. Click on the Azure Open AI resource and select "Keys and Endpoints" (#1) from the left hand menu as shown in screenshot below . Keys And Endpoints

  2. Make a note of End point URL (#2), and one of the keys (#3) in the screenshot. We will need these parameters when initializing the SDK in an ABAP program.

tip

You can use either KEY1 or KEY2. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption in a productive application.